<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑教材</title>
    <link rel="stylesheet" href="../layui/css/layui.css" type="text/css" />
    <link rel="stylesheet" href="../css/examstyle.css" type="text/css">
</head>
<body>
<form class="layui-form" action="">
	<div class="tankuang">
		<div class="subject_choose">
			<div class="layui-form-item">
			    <label class="layui-form-label">科目名称</label>
			    <div class="layui-input-inline w280">
			        <input type="text" class="layui-input radius5">
			    </div>
			    <div><input type="submit" class="layui-btn radius5 bg_orange w110" value="查询" /></div>
			</div>
			
			<div class="sub_choose">
				<div class="choose_yx w200">
					<h1>已选科目<span class="red">（0）</span></h1>
					<div>11111111111</div>
				</div>
				<div class="choose_btn">
					<input type="submit" value="<<" />
					<input type="submit" value="<" />
					<input type="submit" value=">" />
					<input type="submit" value=">>" />
				</div>
				<div class="choose_dx w200">
					<h1>待选科目<span class="red">（4）</span></h1>
					<div>222222222222</div>
				</div>
			</div>
		    <div class="tc mt25">
		        <input type="submit" class="layui-btn radius5 bg_blue w120" value="确定" />
		        <input type="submit" class="layui-btn radius5 bg_c8c8c8 w120" value="关闭" />
		    </div>
		</div>
	</div>
</form>

<script src="../layui/layui.all.js"></script>
	<script>
		layui.use('form', function(){
	        var form = layui.form; 
	        form.render();
	    });
	    
	    layui.use('upload', function(){
		  var upload = layui.upload;
		   
		  //执行实例
		  var uploadInst = upload.render({
		    elem: '#files_upload' //绑定元素
		    ,url: '/upload/' //上传接口
		    ,done: function(res){
		      //上传完毕回调
		    }
		    ,error: function(){
		      //请求异常回调
		    }
		  });
		});
	</script>
</body>
